<?php
/*
 * PF_Controller.php
 * 初始化加载类
 * PF_ 前缀在$config['subclass_prefix']中设置
 * 否则无法加载
 * 
 */
if (! defined ( 'BASEPATH' ))
	exit ( 'No direct script access allowed' );

class PF_Controller extends CI_Controller
{
	
	public function __construct()
	{
		parent::__construct();
		$this->_initialize();
	}

	private function _initialize ()
	{
		
		$this->load->helper('url');
		//$this->load->database(); //连接数据库
		$this->load->library('Smarty');		
		$this->smarty->assign('baseurl',base_url());
	}
}
?>